#pragma once
//#include "stdafx.h"
class FnBitmap
{
public:
	FnBitmap(void);
	~FnBitmap(void);

	static Gdiplus::Bitmap* CreateBitmap(INT resourceId);

	static BOOL SaveBitmap(HBITMAP hbm, LPTSTR szFilePath);
	static BOOL SaveBitmap(HBITMAP hbm, HDC hdc, LPTSTR szFilePath);
	static BOOL SaveBitmap(HWND hwnd, HDC hdc, LPTSTR szFilePath);

	static PBITMAPINFO CreateBitmapInfoStruct(HBITMAP hBmp);
	static HBITMAP MakeClientSnapshot (RECT& client, HWND hWnd, HDC hDC);
	static BOOL CreateBMPFile(LPTSTR pszFile, PBITMAPINFO pbi, HBITMAP hBMP, HDC hDC);

private:
};